package com.ming.provider;

import com.ming.publicinterface.HelloService;

public class HelloServiceImpl implements HelloService {
    private static int count = 0;
    @Override
    public String hello(String msg) {
        System.out.println("收到客户端消息="+msg);

        return msg!=null? "你好客户端，我已经收到你的消息【"+msg+"] 第" + (++count) + " 次":"你好客户端，我已经收到你的消息";
    }
}
